package com.poppy.nutz.glodon.bean;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

@Table("t_material")
public class Material {
	@Name
	@ColDefine(width = 40)
	private String materialid;
	@Column
	@ColDefine(width = 100)
	private String materialcode;
	@Column
	@ColDefine(width = 200)
	private String materialname;
	@Column
	@ColDefine(width = 200)
	private String specification;
	@Column
	@ColDefine(width = 40)
	private String unit;
	@Column
	@ColDefine(width = 10)
	private String mstate;
	@Column
	@ColDefine(width = 40)
	private String orgnizationid;
	@Column
	@ColDefine(width = 100)
	private String oamaterialid;
	@Column
	@ColDefine(width = 40)
	private String materialclassid;

	public String getMaterialid() {
		return materialid;
	}

	public void setMaterialid(String materialid) {
		this.materialid = materialid;
	}

	public String getMaterialcode() {
		return materialcode;
	}

	public void setMaterialcode(String materialcode) {
		this.materialcode = materialcode;
	}

	public String getMaterialname() {
		return materialname;
	}

	public void setMaterialname(String materialname) {
		this.materialname = materialname;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getMstate() {
		return mstate;
	}

	public void setMstate(String mstate) {
		this.mstate = mstate;
	}

	public String getOrgnizationid() {
		return orgnizationid;
	}

	public void setOrgnizationid(String orgnizationid) {
		this.orgnizationid = orgnizationid;
	}

	public String getOamaterialid() {
		return oamaterialid;
	}

	public void setOamaterialid(String oamaterialid) {
		this.oamaterialid = oamaterialid;
	}

	public String getMaterialclassid() {
		return materialclassid;
	}

	public void setMaterialclassid(String materialclassid) {
		this.materialclassid = materialclassid;
	}

}
